package com.ttj.comm;


public enum StatusCode {
	SUCCESS(1000, "成功"),
	ERROR(1001, "失败"),
	PARAMS_INVALID(1002, "参数无效"),
	NOT_LOGGED_IN(1003, "未登录"),
	UNAUTHORIZED(1004, "未授权"),
	UNKONW_ERROR(1005, "未知错误");
	
	public String msg;
	public int code;
	
	StatusCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}
}
